﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true" CodeBehind="ThemGiaoVien.aspx.cs" Inherits="proRFID_DiemDanh.GiaoVien.ThemGiaoVien" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    <link href="CssGiaoVien.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
<div style="text-align:center; width:100%" >
    <fieldset style="width:400px">
        <legend>Thêm giáo viên</legend>
        <table align="center">
            <tr>
                <td>
                    Họ giáo viên
                </td>
                <td Width="220px">
                    <asp:TextBox ID="txt_HoGV" runat="server" Width="100%"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txt_HoGV" 
                    CssClass="Thongbao" Display="Dynamic" style="font-size:20px;"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td >
                    Tên giáo viên
                </td>
                <td >
                    <asp:TextBox ID="txt_TenGV" runat="server" Width="100%"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txt_TenGV" 
                    CssClass="Thongbao" Display="Dynamic" style="font-size:20px;"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Khoa
                </td>
                <td colspan="2">
                    <asp:DropDownList ID="ddl_Khoa" runat="server" Width="80%">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="Vui lòng chọn khoa!" CssClass="Thongbao" 
                        ControlToValidate="ddl_Khoa" InitialValue="0"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: right">
                    <asp:ImageButton ID="Imgcmd_ThemGV" runat="server"  ImageUrl="~/Chung/img/save.png" CssClass="nutnhan"
                    onclick="Imgcmd_ThemGV_Click" />
                    <a href="/GiaoVien/GiaoVien.aspx">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Chung/img/cancel.png" CssClass="nutnhan"/>
                    </a>
                </td>
            </tr>
        </table>
    </fieldset>
</div>
</asp:Content>
